QuickTime 3 Reference

| Previous | Chapter Contents | Chapter Top | Next |

Sharpen Filter

kSharpenImageFilterType ('shrp')

This effect applies a convolution sharpen effect to a single source. The sharpening that is applied is determined by the convolution kernel. This is a matrix of values that are applied to each pixel of the source to produce the destination.

The sharpen filter effect takes one source and has two parameters.

Parameters

Use the descriptions below to help you understand what the parameters do. To learn how to use parameter atoms, see "Adding Video Effects to a QuickTime Movie"

Name

Code

QTAtom Type

Description

Amount of sharpening

'ksiz'

kParameterTypeDataEnum

The size of the sharpen kernel to apply. This value must be one of 3, 5, 7, 9, 11, 13 or 15. The smaller the kernel, the faster the effect will run and the greater the degree of sharpening.

Brightness

'ksum'

kParameterTypeDataFixed

This is the total value of the elements of the sharpen kernel. Normally this value will be 1.0, which sharpens the source but doesn't change its brightness. If the value is between 0.0 and 1.0, the brightness is decreased, if the value is greater than 1.0, the brightness is increased.


© 1998 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |